Skip to content

feat(studio): usability updates: per-component depth in the node diagram, browser history, reload on rebuild - #134

Draft
technolojin wants to merge 5 commits into
autowarefoundation:mainfrom
technolojin:feat/studio-usability
Draft

technolojin wants to merge 5 commits into
autowarefoundation:mainfrom
technolojin:feat/studio-usability

Conversation

@technolojin

Copy link
Copy Markdown
Collaborator

Description

Usability updates to the studio.

Build and navigation

  • A finished build of the shown system's package reloads the page on the new export.
  • Rail items, the E/E views, the jumps between Explore and E/E, and the topic and node selections of the Topics view are steps of the browser history; back and forward restore them.
  • The E/E connections diagram stacks the core devices in a column, with the rails on their left and the lanes and hung devices on their right.

Node diagram

  • The single depth switch is replaced by a component list in the side panel, grouped per compute unit. Each top-level component has its own depth switch with one fixed-width segment per level, so a deeper component shows a longer switch.
  • Every component starts at level 1, a closed box. A click on a component's name opens it to its deepest level and selects it.
  • Direct nodes (top-level entities without an inside) are listed without a switch. Those that no top-level link joins are hidden by default, in the diagram and in the list; a checkbox on each compute unit's head shows them for that unit.
  • A search hit opens its component just far enough to draw the entity, or shows the unlinked direct nodes of its unit.
  • The state is kept in the URL: depth=<component>:<level>,... and unlinked=<unit>,....
  • The node diagram no longer draws the live state marks. The "Live state" side panel is shown only beside a diagram that draws live state (the sequence diagram), without the mark legend.

Tests performed

  • node --test autoware_system_designer_studio/test/js/*.test.js
  • pre-commit run on the changed files
  • Node diagram of the packed studio pages (autoware-system-designer-studio pack) rendered in a browser: default view, components opened to different levels, unlinked direct nodes shown for one unit.

Notes for reviewers

  • A node that only uses global topics counts as unlinked, since it has no link at the top level.
  • Not checked against a running daemon: the visibility of the "Live state" side panel per diagram.

…and draw the E/E connections vertically

- A finished build of the shown system's package reloads the page on the new export.
- Rail items, the E/E views, the jumps between Explore and E/E and the topic and node selections of the Topics view are steps of the browser history; back and forward restore them.
- The E/E connections diagram stacks the core devices in a column, with the rails on their left and the lanes and hung devices on their right.

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
…nt list grouped by compute unit

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
…rched component and drop the live state from the node diagram

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
@codecov

codecov Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.91%. Comparing base (2ac2f75) to head (548eded).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #134      +/-   ##
==========================================
- Coverage   75.91%   75.91%   -0.01%     
==========================================
  Files         143      143              
  Lines       19662    19662              
  Branches     2737     2737              
==========================================
- Hits        14927    14926       -1     
  Misses       4168     4168              
- Partials      567      568       +1     
Flag Coverage Δ
daily ?
full-suite 75.91% <ø> (-0.01%) ⬇️

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…l by default

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
… depth or search selects

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant